package top.wfzzq.ns;

import java.util.Random;

public class SortDemo {

	private static Random random = new Random();
	private static final int MUTI = 2;

	private static int[] toRanmad(int length) {
		int[] nums = new int[length];
		for (int i = 0; i < nums.length; i++) {
			nums[i] = random.nextInt(length * MUTI);
		}
		return nums;
	}

	private static void showRandom(int[] nums, int length) {
		for (int i = 0; i < nums.length; i++) {
			System.out.print(nums[i] + " ");

		}
		System.out.println();
	}
}
